<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>{if isset($data_seo.seo_title)}{$data_seo.seo_title}{/if}</title>
	<link rel="stylesheet" type="text/css" href="/static/home/css/swiper-4.2.2.min.css">
	<link rel="stylesheet" href="/static/home/css/main.css">
    <script src="/static/home/js/swiper-4.2.2.min.js" ></script>
    <link rel="stylesheet" type="text/css" href="/static/home/css/alert.css">
    
</head>
<body>
       {include file="public/header" /}

    <div class="kwpian-1" style="width:100%;height: auto;padding-top: 0">
        <img src="/static/home/img/kp-banner.jpg" style="width:100%" alt="">
    </div>
    <img src="/static/home/img/zstp.png" style="display: block;margin: 50px auto"  alt="">
    <div class="kepian-2">
        
        
        
        
           {volist name="data_kp" id="v"}
                        
              
           
           
           
           
           
                  <div class="kepian-2-1">
                    <a href="#"  onclick ="fnClickAddfgyp({$v.id})"><img src="{$v.main_img}" alt=""></a>
            <div class="kepian-2-1-1">
                <div class="kepian-2-1-nr">
                    <div class="kepian-2-1-nr1">
                        <p>{$v.seo_title}</p>
                    </div>
                    <div class="kepian-2-1-nr2">
                        <p>{$v.seo_keywords}</p>
                    </div>
                    <div class="kepian-2-1-nr3">
                        <p>{$v.create_time|date='Y-m-d',###} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="/static/home/img/yangjing.png" alt="">&nbsp;&nbsp;{$v.click}</p>
                    </div>
                    <a href="#"><div class="kepian-2-1-nr4">
                        <img class="kepian-2-1-nr4-img1" src="/static/home/img/anniu1.png" alt="">
                        <img class="kepian-2-1-nr4-img2" src="/static/home/img/anniu2.png" alt="">
                    </div></a>
                </div>
            </div>
        </div>
           
           
              
                        
                        {/volist}
        
        
       
        
        
        
        
        
        
        
        
        
    </div>
    <div class="kwpian-3">
        <div class="btn1">
            浏览更多
        </div>
    </div>
    <div class="main-5">
        <img src="/static/home/img/index-banner-5.jpg" alt="">
  
        <div class="biaodan">
            <div class="biaodan-1">
                <a href="#" class="biaodan-1-1">优惠&报价</a>
                <a href="#" class="biaodan-1-2">预约档期</a>
                <div class="clearfloat"></div>
            </div>
            <div class="tj1">网络预约进店有礼</div>
        </div>
    </div>
    <div class="srk">
        <div class="srk-1">
            <div class="srk-1-1">
                <img src="/static/home/img/bd.png" alt=""> <span style="color:#9C97A1">免费</span>获取报价/ SERVICE
            </div>
            <div class="srk-1-2 input"><input name="name" id="name" type="text" placeholder="姓名" align = "center"></div>
            <div class="srk-1-3 input"><input name="phone" id="phone" type="text" placeholder="手机号/微信" align = "center"></div>
            <div class="srk-1-4" onclick ="subForm()">提交</div>
            <div class="clearfloat"></div>
        </div>
    </div>

      {include file="public/foot" /}
    <div class="zhanpin">
        <img class="gb" src="/static/home/img/guabi.png" alt="">
    </div>
    <script src="/static/home/js/jquery-1.11.3.js"></script>
    <script src="/static/home/js/alert.js"></script>
    <script src="/static/home/js/main.js"></script>
    <script>
    
    
function fnClickAddfgyp(id){

            window.location.href="/index.php/kepds/details?id="+id;

        }
        
        
//        报名方法
                    function subForm() {
                    var name = $("#name").val();
                    var phone = $("#phone").val();

                    if (name == '') {
//                        alert('请填写姓名');
                        return false;
                    }
                    if (phone == '') {
//                        alert('请填联系方式');
                        return false;
                    }
                    $.post('/index.php/Kephome/add_bj', {name: name, phone: phone}, function (res) {
                        if (1 == res.code) {
//                            alert(res.msg);
                        } else {
//                            alert(res.msg);

                        }
                    }, 'json');
                    return false;
                }
</script>
</body>
